body {
  max-width: 540px; /*经过测量*/
  min-width: 320px; /*移动端一般最小宽度都是320*/
  margin: 0 auto;
  font: normal 14px/1.5 Tahoma, 'Lucida Grande', Verdana, 'Microsoft Yahei', STXihei, hei;
  color: #000;
  background: #f2f2f2;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.search_index {
  display: flex;
  /* 固定定位 */
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 44px;
  /* background-color: pink; */
  max-width: 540px; /*经过测量*/
  min-width: 320px; /*移动端一般最小宽度都是320*/
  z-index: 99;
  /* 控制子元素沿着Y轴居中 */
  align-items: center;
  background-color: #f6f6f6;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.search_index .search {
  position: relative;
  height: 26px;
  line-height: 26px;
  border: 1px solid #000;
  flex: 1;
  margin: 0 10px;
  font-size: 12px;
  color: #666;
  padding-left: 25px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 5px;
  width: 15px;
  height: 15px;
  background: url(../images/sprite.png) no-repeat -59px -279px;
  background-size: 104px auto;
}

.user {
  width: 44px;
  height: 44px;
  /* background-color: purple;  */
  font-size: 12px;
  text-align: center;
  color: #2eaae0;
}
.user::before {
  content: '';
  display: block;
  width: 23px;
  height: 23px;
  background: url(../images/sprite.png) no-repeat -59px -194px;
  background-size: 104px auto;
  margin: 4px auto -2px;
}
.search-index {
  display: flex; /*增加*/
}

a {
  text-decoration: none;
}

/* focus */

.focus {
  padding-top: 44px;
}
.focus img {
  width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.local-nav {
  display: flex;
  height: 64px;
  margin: 3px 4px;
  background-color: #fff;
  border-radius: 8px;
}
.local-nav li {
  flex: 1;
}

.local-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
}
.local-nav li .icon {
  width: 32px;
  height: 32px;
  background: url(../images/localnav_bg.png) no-repeat 0 0 / 32px auto;
  margin-top: 5px;
  /* background-size: 32px auto; */
}